package com.wit.witmg.mapper;

import com.wit.witmg.entity.TProdtech;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wit.witmg.util.ErrorCode;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2024-12-24
 */
public interface TProdtechMapper extends BaseMapper<TProdtech> {

    @Select("SELECT * FROM t_prodtech WHERE #{pid} LIKE CONCAT('%', pid, '%')")
    List<TProdtech> findByBnContaining(@Param("pid") String pid);

}
